import { ILv70DramaStepCommand } from "../interfaces/ILv70DramaStepCommand";
import { TDrama } from "../../../../../Message/Db/Tables/TDrama";
import { Game } from "../../../Game";
//class Lv70OpPlayEffect
    
    export  class Lv70OpPlayEffect implements ILv70DramaStepCommand
    {
        

        public call(arg1: TDrama, arg2: Function=null): void
        {
            var loc1=null;
            if (arg1.valueTwo == 1) 
            {
                loc1 = arg2;
            }
            Game.scene.skillsLayer.addDramaEffect(arg1.valueOne, loc1);
            return;
        }

        public cancel(arg1: TDrama, arg2: Function=null): void
        {
            Game.scene.skillsLayer.removeDramaEffect(arg1.valueOne);
            if (arg2 != null) 
            {
                flash.utils.setTimeout(arg2, 500);
            }
            return;
        }

        public dispose(): void
        {
            return;
        }
    }
